home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000078_news@columbia.edu _Sat Feb 24 10:27:19 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id KAA26876 for <kermit.misc@watsun>; Sat, 24 Feb 1996 10:27:19 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id KAA17232 for kermit.misc@watsun; Sat, 24 Feb 1996 10:27:16 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Multiple Tabs in Macros???
  8. Date: 24 Feb 1996 15:26:45 GMT
  9. Organization: Columbia University
  10. Lines: 29
  11. Message-ID: <4gnanl$gqa@apakabar.cc.columbia.edu>
  12. References: <4glesa$lqq@uwm.edu>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4glesa$lqq@uwm.edu>,
  16. Harmon F Seaver <hseaver@alpha1.csd.uwm.edu> wrote:
  17. : Is there some sort of line length limit for macros in Kermit?
  18. There is, in general, no limit on the length of a macro definition, but
  19. there *is* a limit on the length of a command: the DEFINE command that
  20. defines the macro can only be so long.  The maximum length depends on the
  21. exact version of Kermit you are talking about, and is probably somewhere
  22. between 256 bytes and 4096 bytes.
  23.  
  24. If you need to define a macro that is longer than the command buffer,
  25. define several macros, and then a "super macro" that executes them in
  26. sequence.  Example:
  27.  
  28.   define part1 blah, blah, blah, ...
  29.   define part1 blah, blah, blah, ...
  30.   ...
  31.   define partn blah, blah, blah, ...
  32.   define bigmacro part1, part2, part3, ..., partn
  33.  
  34. : I'm trying
  35. : to put multiple tabs on a key, I've got 10 and 15 tabs, but 20 gets an
  36. : "exceeded the buffer" message. Is there a better way to do this?
  37. :
  38. Or were you actually talking about the maximum length for a key definition?
  39. Again, there is some limit, depending on the specific Kermit version, but
  40. you can use tricks similar to the above to get around it.
  41.  
  42. - Frank